<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            text-decoration: none;
            list-style: none;
        }
        html,body{
            width: 100%;
            height: 100%;
        }
        body{
            box-sizing: border-box;
            padding: 0 50px;
        }
        .header{
            padding: 10px;
            margin: 100px 0;
            height: 50px;
            background: #fff;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .box{

            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .item{
            padding: 10px;
            width: 25%;
            background: #fff;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
    </style>
</head>
<body>
    <div class="header">
        <h2>首页</h2>
        <div>
                <a th:href="@{/toLogin}">登录</a>

                <a th:href="@{/logout}">注销</a>
            </div>
        </div>

    </div>
    <div class="box">
        <ul class="item">
            <h3>level1</h3>
            <li>
                <a th:href="@{/level1/1}">level1 -- 1</a>
            </li>
            <li>
                <a th:href="@{/level1/2}">level1 -- 2</a>
            </li>
            <li>
                <a th:href="@{/level1/3}">level1 -- 3</a>
            </li>
        </ul>
        <ul class="item">
            <h3>level2</h3>
            <li>
                <a th:href="@{/level2/1}">level2 -- 1</a>
            </li>
            <li>
                <a th:href="@{/level2/2}">level2 -- 2</a>
            </li>
            <li>
                <a th:href="@{/level2/3}">level2 -- 3</a>
            </li>
        </ul>
        <ul class="item">
            <h3>level3</h3>
            <li>
                <a th:href="@{/level3/1}">level3 -- 1</a>
            </li>
            <li>
                <a th:href="@{/level3/2}">level3 -- 2</a>
            </li>
            <li>
                <a th:href="@{/level3/3}">level3 -- 3</a>
            </li>
        </ul>

    </div>
</body>
</html>